# 基础镜像使用nginx
FROM 192.168.0.242/library/nginx:1.7.9
USER root
# 作者
LABEL maintainer="ccdental@ccdental.com"
# 指定时区为东八区
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
# 将dist文件中的内容复制到 /usr/share/nginx/html/ 这个目录下面
COPY docs/docs/.vuepress/dist  /usr/share/nginx/html/

RUN echo 'echo init ok!!!'